package com.zhou.org.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lang.zhou
 * @since 2023-02-26
 */
@Data
@ApiModel("密码修改模型")
public class ChangePasswordDto implements Serializable {

    private static final long serialVersionUID=1L;


    @ApiModelProperty(value = "旧密码",required = true)
    @NotEmpty
    @Size(max = 500)
    private String oldPassword;

    @ApiModelProperty(value = "新密码",required = true)
    @NotEmpty
    @Size(max = 500)
    private String newPassword;
}
